let app = new Vue({
	el: '#main-content',
	data : {
		getUserList : "",
		pageNum1: 1,
		pageSize: 4
	},
	created() {
		this.getList();
	},
	methods:{
		getList(pageNum){
			if(pageNum>0){
				this.pageNum1=pageNum
			}
			let data = new URLSearchParams;
			data.append("pageNum",this.pageNum1);
			data.append("pageSize",3);
			axios.post("xiuli/selectMaintain",data,headers:{"token":localStorage.token,"url":window.location.pathname})
					.then(response=>{
						this.getUserList = response.data.data;
						console.log(this.getUserList);
					})
		},
		goTo(id){
			

			location.href="paramedics-repairApply2.html?id="+id;
		}
	}
})